<template>
  <div class="modal-backdrop">
    <div class="modal">
      <div class="modal-header">
        <slot name="modal-header"></slot>
      </div>

      <div class="modal-body">
        <slot name="modal-body"></slot>
      </div>

      <div class="modal-footer">
        <slot name="modal-footer"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'evaluateModal',
  props:["evaluateShow"],
  data() {
    return {
    }
  },
  methods: {
    closeSelf() {
      this.$emit("closeme");
    }
  }
}
</script>


<style>
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,.3);
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal {
  background-color: #fff;
  box-shadow: 2px 2px 20px 1px;
  overflow-x:auto;
//display: flex;
  flex-direction: column;
  border-radius: 16px;
  width: 600px;
  height: 400px;
}
.modal-header {
  border-bottom: 1px solid #eee;
  color: #313131;
  justify-content: space-between;
  padding: 15px;
  display: flex;
  height: 73px;
}
.modal-footer {
  height: 10%;
  border-top: 1px solid #eee;
  justify-content: flex-end;
  padding: 15px;
  display: flex;
}

</style>
